index—number block used to indicate which argument to select for that position in the block; block1—any type of block from which values may be selected; block2,...—the same type of block as block1.
creates a block containing values selected from the arguments. Result will be the same size as index.